#!/bin/bash

# Тест работы ...

echo "Тесты ... ====================================" > test/tmp/test-interpret-teragraph.out

bin/simodo-interpret --help >> test/tmp/test-interpret-teragraph.out

for file in test/source/teragraph/*.teragraph
do
    echo "--- ${file} :" >> test/tmp/test-interpret-teragraph.out
    cat ${file} >> test/tmp/test-interpret-teragraph.out
    echo "--- interpret :" >> test/tmp/test-interpret-teragraph.out
    bin/simodo-interpret ${file} >> test/tmp/test-interpret-teragraph.out
done

exit 0
